// #include <algorithm>
#include <iostream>
#include <numeric>
#include <vector>

using namespace std;
int main(int argc, char const *argv[]) {
  /* code */
  vector<int> v1 = {0, 1, 2, 3, 4};
  cout << accumulate(v1.cbegin(), v1.cend(), 0) << endl;
  return 0;
}
